package com.xuecheng.service;

import org.springframework.scheduling.annotation.Scheduled;

import java.io.IOException;
import java.util.List;

public interface VideoScraperService {
    @Scheduled(fixedRate = 60000)  // 每60秒执行一次
    void fetchVideoData();

    String getVideo(String url) throws IOException, InterruptedException;

    // 使用 Jsoup 解析页面内容，提取视频 URL
//    List<String> parseVideoUrls(String pageContent);
}
